<?php
class Admin_Form_Hotel extends  Zend_Form
{
	public function init()
	{
		$name= new Zend_Form_Element_Text("name");
		$address = new Zend_Form_Element_Text("address");
		$website = new Zend_Form_Element_Text("website");
		$priority = new HAE_Element_Priority("priority");
		$rate = new Zend_Form_Element_Text("rate");
		$contry = new Zend_Form_Element_Select("country");
		$city = new Zend_Form_Element_Select("city");
		$desc = new Zend_Form_Element_Textarea("des");
		$desc_vi = new Zend_Form_Element_Hidden("des_vi");
		$desc_en = new Zend_Form_Element_Hidden("des_en");
		$desc_ja = new Zend_Form_Element_Hidden("des_ja");
		$desc_cn = new Zend_Form_Element_Hidden("des_cn");
		$desc_fr = new Zend_Form_Element_Hidden("des_fr");
		$accomodation = new Zend_Form_Element_MultiCheckbox("accomodation");
		$service = new Zend_Form_Element_MultiCheckbox("service");
		$status =  new HAE_Element_Status("status");
		$submit = new Zend_Form_Element_Submit("add");
		$meeting = new Zend_Form_Element_Checkbox("meeting");
		$submit->setAttrib("class","button");
		$this->addElements(array($name, $address, $website, $rate, $priority, $contry, $city,$desc, $desc_vi, $desc_en, $desc_ja, $desc_cn,$desc_fr,$accomodation, $service, $status,$submit,$meeting));
		$this->setElementDecorators(array(
		array("ViewHelper")
		));
		$this->setDecorators(array(
		array('ViewScript',array('viewScript'=>'./forms/Hotel.phtml'))
		));
	}
}